using System.Net;

namespace Altova.IO
{
	public class UrlInput : StreamInput
	{
		private string url;

		public override string Filename
		{
			get
			{
				return url;
			}
		}

		public UrlInput(string u)
			: base(WebRequest.Create(u).GetResponse().GetResponseStream())
		{
			url = u;
		}
	}
}
